<!-- LEFT -->
<div id="page-left">
    <!-- BOX FUNCTION -->
    <?php if(!empty($this->session->userdata['UserName'])): ?>
    <div class="slice-box slice-function">
        <h4>Chức năng</h4>
        <div class="slice-function-content">
            <ul>
                <?php if(in_array($this->session->userdata('Role'), array('ADMIN', 'STAFF'))): ?>
                <li class="<?php echo isActiveMenu(array('task')) ? 'active' : '' ?>">
                    <a href="<?php echo site_url() ?>task.html">Danh sách công việc</a>
                </li>
                <?php endif; ?>
                <li class="<?php echo isActiveMenu(array('user', 'detail')) ? 'active' : '' ?>">
                    <a href="<?php echo site_url() ?>user/detail.html">Thông tin cá nhân</a>
                </li>
                <li class="<?php echo isActiveMenu(array('user', 'change_password')) ? 'active' : '' ?>">
                    <a href="<?php echo site_url() ?>user/change_password.html">Thay đổi mật khẩu</a>
                </li>
                <li class="<?php echo isActiveMenu(array('user', 'logout')) ? 'active' : '' ?>">
                    <a href="<?php echo site_url() ?>user/logout.html">Thoát hệ thống</a>
                </li>
            </ul>
        </div>
    </div>
    <?php endif; ?>
    
    <!-- BOX SUPPORT -->
    <div class="slice-box slice-support">
        <h4>Hỗ trợ trực tuyến</h4>
        <div class="slice-support-content">
            <a href="ymsgr:sendim?<?php echo $this->session->userdata['CONFIG_SUPPORT_YAHOO'] ?>" 
            mce_href="ymsgr:sendim?<?php echo $this->session->userdata['CONFIG_SUPPORT_YAHOO'] ?>" 
            border="0"><img border="0" src="http://opi.yahoo.com/online?u=<?php echo $this->session->userdata['CONFIG_SUPPORT_YAHOO'] ?>&t=2" 
            mce_src="http://opi.yahoo.com/online?u=vantien_220787&t=2"></a>
            
            <a href="skype:<?php echo $this->session->userdata['CONFIG_SUPPORT_SKYPE'] ?>?call">
            <img src="http://mystatus.skype.com/balloon/<?php echo $this->session->userdata['CONFIG_SUPPORT_SKYPE'] ?>" 
            style="border: none;" alt="My status" /></a>
        </div>
    </div>
    
     <!-- BOX SUPPORT -->
    <div class="slice-box slice-contact">
        <h4>Liên hệ</h4>
        <div class="slice-contact-content">
            <?php echo nl2br($this->session->userdata('CONFIG_LIST_CONTACTS')) ?>
        </div>
    </div>
</div>
 <!-- CONTENT -->
<div id="page-content">
    <!-- CONTENT LEFT -->
    <div class="content">
        <!-- BOX PRODUCT -->